home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-11-24 | 6.1 KB | [TEXT/PJMM] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: TestPTasks.p
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| bsdiff patch (other/bsdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| imgdiff patch (other/imgdiffPatch)
| ext
| Unsupported |
1%
| dexvert
| WSUS Patch Storage File (other/wsusPatchStorageFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Nov 24 13:55:25 1992, modified Tue Nov 24 13:55:25 1992, creator Think Pascal, type ASCII, 5600 bytes "TestPTasks.p" , at 0x1660 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [PJMM] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 54 65 73 74 50 54 | 61 73 6b 73 2e 70 00 00 |..TestPT|asks.p..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 4a 4d | 4d 01 00 00 00 00 00 00 |.TEXTPJM|M.......|
|00000050| 00 00 00 00 00 15 e0 00 | 00 01 ac a7 38 2b 1d a7 |........|....8+..|
|00000060| 38 2b 1d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |8+......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b5 1e 00 00 |........|........|
|00000080| 70 72 6f 67 72 61 6d 20 | 54 65 73 74 50 54 61 73 |program |TestPTas|
|00000090| 6b 73 3b 0d 0d 7b 09 09 | 54 61 73 6b 20 4d 61 6e |ks;..{..|Task Man|
|000000a0| 61 67 65 72 20 2d 2d 20 | 42 61 63 6b 67 72 6f 75 |ager -- |Backgrou|
|000000b0| 6e 64 20 70 72 6f 63 65 | 73 73 69 6e 67 20 73 75 |nd proce|ssing su|
|000000c0| 70 70 6f 72 74 7d 0d 7b | 09 09 76 65 72 73 69 6f |pport}.{|..versio|
|000000d0| 6e 20 32 2e 32 7d 0d 0d | 7b 09 54 68 69 73 20 73 |n 2.2}..|{.This s|
|000000e0| 6f 66 74 77 61 72 65 20 | 73 6f 75 72 63 65 20 70 |oftware |source p|
|000000f0| 61 63 6b 61 67 65 20 69 | 73 20 43 6f 70 79 72 69 |ackage i|s Copyri|
|00000100| 67 68 74 20 a9 20 31 39 | 39 30 2d 39 31 20 62 79 |ght . 19|90-91 by|
|00000110| 20 4d 69 63 68 61 65 6c | 20 48 65 63 68 74 2e 20 | Michael| Hecht. |
|00000120| 41 6c 6c 20 52 69 67 68 | 74 73 7d 0d 7b 09 52 65 |All Righ|ts}.{.Re|
|00000130| 73 65 72 76 65 64 2e 20 | 49 74 20 6d 61 79 20 62 |served. |It may b|
|00000140| 65 20 66 72 65 65 6c 79 | 20 64 69 73 74 72 69 62 |e freely| distrib|
|00000150| 75 74 65 64 20 69 6e 20 | 73 6f 75 72 63 65 20 6f |uted in |source o|
|00000160| 72 20 6f 62 6a 65 63 74 | 20 63 6f 64 65 20 66 6f |r object| code fo|
|00000170| 72 6d 61 74 3b 20 68 6f | 77 65 76 65 72 2c 7d 0d |rmat; ho|wever,}.|
|00000180| 7b 09 74 68 65 20 73 6f | 75 72 63 65 20 63 6f 64 |{.the so|urce cod|
|00000190| 65 20 6d 61 79 20 6e 6f | 74 20 62 65 20 73 6f 6c |e may no|t be sol|
|000001a0| 64 20 66 6f 72 20 70 72 | 6f 66 69 74 20 6f 72 20 |d for pr|ofit or |
|000001b0| 63 68 61 72 67 65 64 20 | 66 6f 72 20 69 6e 20 61 |charged |for in a|
|000001c0| 6e 79 20 77 61 79 2e 20 | 54 68 65 20 73 6f 75 72 |ny way. |The sour|
|000001d0| 63 65 7d 0d 7b 09 63 6f | 64 65 20 6d 75 73 74 20 |ce}.{.co|de must |
|000001e0| 62 65 20 64 69 73 74 72 | 69 62 75 74 65 64 20 61 |be distr|ibuted a|
|000001f0| 73 20 61 20 70 61 63 6b | 61 67 65 20 69 6e 63 6c |s a pack|age incl|
|00000200| 75 64 69 6e 67 20 61 6c | 6c 20 48 20 66 69 6c 65 |uding al|l H file|
|00000210| 73 2c 20 73 61 6d 70 6c | 65 20 63 6f 64 65 20 61 |s, sampl|e code a|
|00000220| 6e 64 7d 0d 7b 09 70 72 | 6f 6a 65 63 74 73 2c 20 |nd}.{.pr|ojects, |
|00000230| 61 6e 64 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |and docu|mentatio|
|00000240| 6e 2e 7d 0d 0d 7b 09 49 | 20 77 65 6c 63 6f 6d 65 |n.}..{.I| welcome|
|00000250| 20 61 6e 79 20 63 6f 6d | 6d 65 6e 74 73 20 6f 72 | any com|ments or|
|00000260| 20 73 75 67 67 65 73 74 | 69 6f 6e 73 20 74 68 61 | suggest|ions tha|
|00000270| 74 20 77 69 6c 6c 20 68 | 65 6c 70 20 6d 65 20 69 |t will h|elp me i|
|00000280| 6d 70 72 6f 76 65 20 6f | 72 20 65 78 74 65 6e 64 |mprove o|r extend|
|00000290| 20 74 68 65 7d 0d 7b 09 | 66 75 6e 63 74 69 6f 6e | the}.{.|function|
|000002a0| 61 6c 69 74 79 20 6f 66 | 20 74 68 65 20 54 61 73 |ality of| the Tas|
|000002b0| 6b 20 4d 61 6e 61 67 65 | 72 2e 20 59 6f 75 20 63 |k Manage|r. You c|
|000002c0| 61 6e 20 72 65 61 63 68 | 20 6d 65 20 61 74 3a 7d |an reach| me at:}|
|000002d0| 0d 0d 7b 09 09 49 6e 74 | 65 72 6e 65 74 3a 09 09 |..{..Int|ernet:..|
|000002e0| 4d 69 63 68 61 65 6c 5f | 48 65 63 68 74 40 6d 61 |Michael_|Hecht@ma|
|000002f0| 63 2e 73 61 73 2e 63 6f | 6d 7d 0d 7b 09 09 41 70 |c.sas.co|m}.{..Ap|
|00000300| 70 6c 65 4c 69 6e 6b 3a | 09 09 53 41 53 2e 48 45 |pleLink:|..SAS.HE|
|00000310| 43 48 54 7d 0d 0d 7b 09 | 48 61 70 70 79 20 54 61 |CHT}..{.|Happy Ta|
|00000320| 73 6b 69 6e 67 21 7d 0d | 0d 7b 09 2d 2d 4d 69 63 |sking!}.|.{.--Mic|
|00000330| 68 61 65 6c 20 48 65 63 | 68 74 7d 0d 0d 7b 09 50 |hael Hec|ht}..{.P|
|00000340| 61 73 63 61 6c 20 43 6f | 6e 76 65 72 73 69 6f 6e |ascal Co|nversion|
|00000350| 20 62 79 20 50 65 74 65 | 72 20 4e 20 4c 65 77 69 | by Pete|r N Lewi|
|00000360| 73 20 3c 70 65 74 65 72 | 40 6e 63 72 70 64 61 2e |s <peter|@ncrpda.|
|00000370| 63 75 72 74 69 6e 2e 65 | 64 75 2e 61 75 3e 2c 20 |curtin.e|du.au>, |
|00000380| 41 75 67 20 31 39 39 32 | 7d 0d 0d 09 75 73 65 73 |Aug 1992|}...uses|
|00000390| 0d 09 09 54 61 73 6b 73 | 3b 0d 0d 09 74 79 70 65 |...Tasks|;...type|
|000003a0| 0d 09 09 53 6c 61 76 65 | 52 65 63 6f 72 64 20 3d |...Slave|Record =|
|000003b0| 20 72 65 63 6f 72 64 0d | 09 09 09 09 70 6f 72 74 | record.|....port|
|000003c0| 52 65 63 74 3a 20 52 65 | 63 74 3b 0d 09 09 09 09 |Rect: Re|ct;.....|
|000003d0| 74 69 74 6c 65 2c 20 6d | 73 67 31 2c 20 6d 73 67 |title, m|sg1, msg|
|000003e0| 32 3a 20 73 74 72 33 31 | 3b 0d 09 09 09 09 73 6c |2: str31|;.....sl|
|000003f0| 61 76 65 57 69 6e 64 6f | 77 3a 20 57 69 6e 64 6f |aveWindo|w: Windo|
|00000400| 77 50 74 72 3b 0d 09 09 | 09 65 6e 64 3b 0d 09 09 |wPtr;...|.end;...|
|00000410| 53 6c 61 76 65 50 74 72 | 20 3d 20 5e 53 6c 61 76 |SlavePtr| = ^Slav|
|00000420| 65 52 65 63 6f 72 64 3b | 0d 09 09 53 6c 61 76 65 |eRecord;|...Slave|
|00000430| 48 61 6e 64 6c 65 20 3d | 20 5e 53 6c 61 76 65 50 |Handle =| ^SlaveP|
|00000440| 74 72 3b 0d 0d 09 70 72 | 6f 63 65 64 75 72 65 20 |tr;...pr|ocedure |
|00000450| 44 72 61 77 52 61 6e 64 | 6f 6d 4d 73 67 20 28 77 |DrawRand|omMsg (w|
|00000460| 70 3a 20 57 69 6e 64 6f | 77 50 74 72 3b 20 6d 73 |p: Windo|wPtr; ms|
|00000470| 67 31 2c 20 6d 73 67 32 | 3a 20 73 74 72 33 31 29 |g1, msg2|: str31)|
|00000480| 3b 0d 09 09 76 61 72 0d | 09 09 09 72 3a 20 52 65 |;...var.|...r: Re|
|00000490| 63 74 3b 0d 09 09 09 73 | 63 72 6f 6c 6c 52 67 6e |ct;....s|crollRgn|
|000004a0| 3a 20 52 67 6e 48 61 6e | 64 6c 65 3b 0d 09 62 65 |: RgnHan|dle;..be|
|000004b0| 67 69 6e 0d 09 09 53 65 | 74 50 6f 72 74 28 77 70 |gin...Se|tPort(wp|
|000004c0| 29 3b 0d 0d 09 7b 20 53 | 63 72 6f 6c 6c 20 74 68 |);...{ S|croll th|
|000004d0| 65 20 73 63 72 65 65 6e | 20 7d 0d 09 09 73 63 72 |e screen| }...scr|
|000004e0| 6f 6c 6c 52 67 6e 20 3a | 3d 20 4e 65 77 52 67 6e |ollRgn :|= NewRgn|
|000004f0| 3b 0d 09 09 72 20 3a 3d | 20 77 70 5e 2e 70 6f 72 |;...r :=| wp^.por|
|00000500| 74 52 65 63 74 3b 0d 09 | 09 53 63 72 6f 6c 6c 52 |tRect;..|.ScrollR|
|00000510| 65 63 74 28 72 2c 20 30 | 2c 20 2d 31 36 2c 20 73 |ect(r, 0|, -16, s|
|00000520| 63 72 6f 6c 6c 52 67 6e | 29 3b 0d 09 09 46 69 6c |crollRgn|);...Fil|
|00000530| 6c 52 67 6e 28 73 63 72 | 6f 6c 6c 52 67 6e 2c 20 |lRgn(scr|ollRgn, |
|00000540| 77 68 69 74 65 29 3b 0d | 09 09 44 69 73 70 6f 73 |white);.|..Dispos|
|00000550| 65 52 67 6e 28 73 63 72 | 6f 6c 6c 52 67 6e 29 3b |eRgn(scr|ollRgn);|
|00000560| 0d 0d 09 7b 20 50 69 63 | 6b 20 6f 6e 65 20 6f 66 |...{ Pic|k one of|
|00000570| 20 74 77 6f 20 6d 65 73 | 73 61 67 65 73 20 61 74 | two mes|sages at|
|00000580| 20 72 61 6e 64 6f 6d 20 | 61 6e 64 20 64 72 61 77 | random |and draw|
|00000590| 20 69 74 20 7d 0d 09 09 | 4d 6f 76 65 54 6f 28 35 | it }...|MoveTo(5|
|000005a0| 2c 20 31 32 38 29 3b 0d | 09 09 69 66 20 6f 64 64 |, 128);.|..if odd|
|000005b0| 28 72 61 6e 64 6f 6d 29 | 20 74 68 65 6e 0d 09 09 |(random)| then...|
|000005c0| 09 44 72 61 77 53 74 72 | 69 6e 67 28 6d 73 67 31 |.DrawStr|ing(msg1|
|000005d0| 29 0d 09 09 65 6c 73 65 | 0d 09 09 09 44 72 61 77 |)...else|....Draw|
|000005e0| 53 74 72 69 6e 67 28 6d | 73 67 32 29 3b 0d 09 65 |String(m|sg2);..e|
|000005f0| 6e 64 3b 0d 0d 09 70 72 | 6f 63 65 64 75 72 65 20 |nd;...pr|ocedure |
|00000600| 53 6c 61 76 65 50 72 6f | 63 20 28 74 68 65 53 6c |SlavePro|c (theSl|
|00000610| 61 76 65 48 61 6e 64 6c | 65 3a 20 53 6c 61 76 65 |aveHandl|e: Slave|
|00000620| 48 61 6e 64 6c 65 29 3b | 0d 09 09 76 61 72 0d 09 |Handle);|...var..|
|00000630| 09 09 74 68 65 53 6c 61 | 76 65 3a 20 53 6c 61 76 |..theSla|ve: Slav|
|00000640| 65 52 65 63 6f 72 64 3b | 0d 09 09 09 73 6c 61 76 |eRecord;|....slav|
|00000650| 65 57 69 6e 64 6f 77 3a | 20 57 69 6e 64 6f 77 50 |eWindow:| WindowP|
|00000660| 74 72 3b 0d 09 09 09 6f | 65 3a 20 4f 53 45 72 72 |tr;....o|e: OSErr|
|00000670| 3b 0d 09 62 65 67 69 6e | 0d 0d 09 7b 20 4f 75 72 |;..begin|...{ Our|
|00000680| 20 72 65 66 43 6f 6e 20 | 69 73 20 72 65 61 6c 6c | refCon |is reall|
|00000690| 79 20 61 20 53 6c 61 76 | 65 48 61 6e 64 6c 65 3b |y a Slav|eHandle;|
|000006a0| 20 67 65 74 20 74 68 65 | 20 72 65 63 6f 72 64 20 | get the| record |
|000006b0| 69 74 20 70 6f 69 6e 74 | 73 20 74 6f 20 7b 7d 0d |it point|s to {}.|
|000006c0| 09 09 74 68 65 53 6c 61 | 76 65 20 3a 3d 20 74 68 |..theSla|ve := th|
|000006d0| 65 53 6c 61 76 65 48 61 | 6e 64 6c 65 5e 5e 3b 0d |eSlaveHa|ndle^^;.|
|000006e0| 0d 09 7b 20 43 72 65 61 | 74 65 20 61 20 77 69 6e |..{ Crea|te a win|
|000006f0| 64 6f 77 20 66 6f 72 20 | 6f 75 72 20 73 6c 61 76 |dow for |our slav|
|00000700| 65 20 7d 0d 09 09 73 6c | 61 76 65 57 69 6e 64 6f |e }...sl|aveWindo|
|00000710| 77 20 3a 3d 20 4e 65 77 | 57 69 6e 64 6f 77 28 6e |w := New|Window(n|
|00000720| 69 6c 2c 20 74 68 65 53 | 6c 61 76 65 2e 70 6f 72 |il, theS|lave.por|
|00000730| 74 52 65 63 74 2c 20 74 | 68 65 53 6c 61 76 65 2e |tRect, t|heSlave.|
|00000740| 74 69 74 6c 65 2c 20 54 | 52 55 45 2c 20 6e 6f 47 |title, T|RUE, noG|
|00000750| 72 6f 77 44 6f 63 50 72 | 6f 63 2c 20 46 72 6f 6e |rowDocPr|oc, Fron|
|00000760| 74 57 69 6e 64 6f 77 2c | 20 54 52 55 45 2c 20 30 |tWindow,| TRUE, 0|
|00000770| 29 3b 0d 0d 09 7b 20 53 | 74 6f 72 65 20 74 68 65 |);...{ S|tore the|
|00000780| 20 77 69 6e 64 6f 77 20 | 70 74 72 20 69 6e 20 6f | window |ptr in o|
|00000790| 75 72 20 53 6c 61 76 65 | 48 61 6e 64 6c 65 20 73 |ur Slave|Handle s|
|000007a0| 6f 20 74 68 65 20 54 61 | 73 6b 54 65 72 6d 20 70 |o the Ta|skTerm p|
|000007b0| 72 6f 63 65 64 75 72 65 | 20 63 61 6e 20 66 69 6e |rocedure| can fin|
|000007c0| 64 20 69 74 20 7d 0d 09 | 09 74 68 65 53 6c 61 76 |d it }..|.theSlav|
|000007d0| 65 48 61 6e 64 6c 65 5e | 5e 2e 73 6c 61 76 65 57 |eHandle^|^.slaveW|
|000007e0| 69 6e 64 6f 77 20 3a 3d | 20 73 6c 61 76 65 57 69 |indow :=| slaveWi|
|000007f0| 6e 64 6f 77 3b 0d 0d 09 | 7b 20 44 72 61 77 20 6d |ndow;...|{ Draw m|
|00000800| 65 73 73 61 67 65 73 20 | 66 6f 72 65 76 65 72 20 |essages |forever |
|00000810| 28 74 68 65 20 6d 61 69 | 6e 20 74 61 73 6b 20 77 |(the mai|n task w|
|00000820| 69 6c 6c 20 73 74 6f 70 | 20 75 73 20 77 68 65 6e |ill stop| us when|
|00000830| 20 69 74 27 73 20 74 69 | 6d 65 29 20 7d 0d 09 09 | it's ti|me) }...|
|00000840| 77 68 69 6c 65 20 74 72 | 75 65 20 64 6f 20 62 65 |while tr|ue do be|
|00000850| 67 69 6e 0d 09 09 7b 20 | 4c 65 74 20 6f 74 68 65 |gin...{ |Let othe|
|00000860| 72 20 74 61 73 6b 73 20 | 72 75 6e 20 7d 0d 09 09 |r tasks |run }...|
|00000870| 09 6f 65 20 3a 3d 20 54 | 61 73 6b 59 69 65 6c 64 |.oe := T|askYield|
|00000880| 3b 0d 0d 09 09 7b 20 44 | 72 61 77 20 6f 6e 65 20 |;....{ D|raw one |
|00000890| 6f 66 20 6f 75 72 20 6d | 65 73 73 61 67 65 73 20 |of our m|essages |
|000008a0| 7d 0d 09 09 09 44 72 61 | 77 52 61 6e 64 6f 6d 4d |}....Dra|wRandomM|
|000008b0| 73 67 28 73 6c 61 76 65 | 57 69 6e 64 6f 77 2c 20 |sg(slave|Window, |
|000008c0| 74 68 65 53 6c 61 76 65 | 2e 6d 73 67 31 2c 20 74 |theSlave|.msg1, t|
|000008d0| 68 65 53 6c 61 76 65 2e | 6d 73 67 32 29 3b 0d 09 |heSlave.|msg2);..|
|000008e0| 09 65 6e 64 3b 0d 09 65 | 6e 64 3b 0d 0d 09 70 72 |.end;..e|nd;...pr|
|000008f0| 6f 63 65 64 75 72 65 20 | 53 6c 61 76 65 54 65 72 |ocedure |SlaveTer|
|00000900| 6d 50 72 6f 63 20 28 74 | 68 65 53 6c 61 76 65 48 |mProc (t|heSlaveH|
|00000910| 61 6e 64 6c 65 3a 20 53 | 6c 61 76 65 48 61 6e 64 |andle: S|laveHand|
|00000920| 6c 65 29 3b 0d 09 62 65 | 67 69 6e 0d 09 7b 20 54 |le);..be|gin..{ T|
|00000930| 69 6d 65 20 74 6f 20 63 | 6c 6f 73 65 20 6f 75 72 |ime to c|lose our|
|00000940| 20 77 69 6e 64 6f 77 20 | 28 69 66 20 69 74 20 77 | window |(if it w|
|00000950| 61 73 20 65 76 65 72 20 | 63 72 65 61 74 65 64 29 |as ever |created)|
|00000960| 20 7d 0d 09 09 69 66 20 | 74 68 65 53 6c 61 76 65 | }...if |theSlave|
|00000970| 48 61 6e 64 6c 65 5e 5e | 2e 73 6c 61 76 65 57 69 |Handle^^|.slaveWi|
|00000980| 6e 64 6f 77 20 3c 3e 20 | 6e 69 6c 20 74 68 65 6e |ndow <> |nil then|
|00000990| 0d 09 09 09 43 6c 6f 73 | 65 57 69 6e 64 6f 77 28 |....Clos|eWindow(|
|000009a0| 74 68 65 53 6c 61 76 65 | 48 61 6e 64 6c 65 5e 5e |theSlave|Handle^^|
|000009b0| 2e 73 6c 61 76 65 57 69 | 6e 64 6f 77 29 3b 0d 0d |.slaveWi|ndow);..|
|000009c0| 09 7b 20 53 6c 61 76 65 | 48 61 6e 64 6c 65 20 6e |.{ Slave|Handle n|
|000009d0| 6f 20 6c 6f 6e 67 65 72 | 20 6e 65 65 64 65 64 20 |o longer| needed |
|000009e0| 7d 0d 09 09 44 69 73 70 | 6f 73 48 61 6e 64 6c 65 |}...Disp|osHandle|
|000009f0| 28 68 61 6e 64 6c 65 28 | 74 68 65 53 6c 61 76 65 |(handle(|theSlave|
|00000a00| 48 61 6e 64 6c 65 29 29 | 3b 0d 09 65 6e 64 3b 0d |Handle))|;..end;.|
|00000a10| 0d 09 66 75 6e 63 74 69 | 6f 6e 20 4e 65 77 53 6c |..functi|on NewSl|
|00000a20| 61 76 65 20 28 62 6f 75 | 6e 64 73 3a 20 52 65 63 |ave (bou|nds: Rec|
|00000a30| 74 3b 20 74 69 74 6c 65 | 2c 20 6d 73 67 31 2c 20 |t; title|, msg1, |
|00000a40| 6d 73 67 32 3a 20 73 74 | 72 33 31 29 3a 20 4f 53 |msg2: st|r31): OS|
|00000a50| 45 72 72 3b 0d 09 09 76 | 61 72 0d 09 09 09 65 72 |Err;...v|ar....er|
|00000a60| 72 3a 20 4f 53 45 72 72 | 3b 0d 09 09 09 74 68 65 |r: OSErr|;....the|
|00000a70| 53 6c 61 76 65 3a 20 53 | 6c 61 76 65 52 65 63 6f |Slave: S|laveReco|
|00000a80| 72 64 3b 0d 09 09 09 74 | 68 65 53 6c 61 76 65 48 |rd;....t|heSlaveH|
|00000a90| 61 6e 64 6c 65 3a 20 53 | 6c 61 76 65 48 61 6e 64 |andle: S|laveHand|
|00000aa0| 6c 65 3b 0d 09 09 09 74 | 72 6e 3a 20 69 6e 74 65 |le;....t|rn: inte|
|00000ab0| 67 65 72 3b 0d 0d 09 62 | 65 67 69 6e 0d 09 7b 20 |ger;...b|egin..{ |
|00000ac0| 43 72 65 61 74 65 20 61 | 20 6e 65 77 20 73 6c 61 |Create a| new sla|
|00000ad0| 76 65 3b 20 66 69 72 73 | 74 2c 20 69 6e 69 74 69 |ve; firs|t, initi|
|00000ae0| 61 6c 69 7a 65 20 61 20 | 53 6c 61 76 65 52 65 63 |alize a |SlaveRec|
|00000af0| 6f 72 64 20 7d 0d 09 09 | 74 68 65 53 6c 61 76 65 |ord }...|theSlave|
|00000b00| 2e 70 6f 72 74 52 65 63 | 74 20 3a 3d 20 62 6f 75 |.portRec|t := bou|
|00000b10| 6e 64 73 3b 0d 09 09 74 | 68 65 53 6c 61 76 65 2e |nds;...t|heSlave.|
|00000b20| 74 69 74 6c 65 20 3a 3d | 20 74 69 74 6c 65 3b 0d |title :=| title;.|
|00000b30| 09 09 74 68 65 53 6c 61 | 76 65 2e 6d 73 67 31 20 |..theSla|ve.msg1 |
|00000b40| 3a 3d 20 6d 73 67 31 3b | 0d 09 09 74 68 65 53 6c |:= msg1;|...theSl|
|00000b50| 61 76 65 2e 6d 73 67 32 | 20 3a 3d 20 6d 73 67 32 |ave.msg2| := msg2|
|00000b60| 3b 0d 0d 09 7b 20 42 65 | 20 73 75 72 65 20 74 6f |;...{ Be| sure to|
|00000b70| 20 73 65 74 20 74 68 69 | 73 20 74 6f 20 6e 69 6c | set thi|s to nil|
|00000b80| 2c 20 69 6e 20 63 61 73 | 65 20 74 68 65 20 74 65 |, in cas|e the te|
|00000b90| 72 6d 20 70 72 6f 63 20 | 67 65 74 73 20 63 61 6c |rm proc |gets cal|
|00000ba0| 6c 65 64 20 74 6f 6f 20 | 65 61 72 6c 79 21 20 7d |led too |early! }|
|00000bb0| 0d 09 09 74 68 65 53 6c | 61 76 65 2e 73 6c 61 76 |...theSl|ave.slav|
|00000bc0| 65 57 69 6e 64 6f 77 20 | 3a 3d 20 6e 69 6c 3b 0d |eWindow |:= nil;.|
|00000bd0| 0d 7b 09 20 2a 09 4e 65 | 78 74 3b 20 63 6f 6e 76 |.{. *.Ne|xt; conv|
|00000be0| 65 72 74 20 69 74 20 74 | 6f 20 61 20 53 6c 61 76 |ert it t|o a Slav|
|00000bf0| 65 48 61 6e 64 6c 65 2c | 20 73 6f 20 69 74 20 63 |eHandle,| so it c|
|00000c00| 61 6e 20 73 69 74 20 69 | 6e 20 74 68 65 20 68 65 |an sit i|n the he|
|00000c10| 61 70 20 75 6e 74 69 6c | 20 74 68 65 7d 0d 7b 09 |ap until| the}.{.|
|00000c20| 20 2a 09 73 6c 61 76 65 | 20 63 61 6e 20 72 65 74 | *.slave| can ret|
|00000c30| 72 69 65 76 65 20 69 74 | 2e 7d 0d 0d 09 09 65 72 |rieve it|.}....er|
|00000c40| 72 20 3a 3d 20 50 74 72 | 54 6f 48 61 6e 64 28 40 |r := Ptr|ToHand(@|
|00000c50| 74 68 65 53 6c 61 76 65 | 2c 20 68 61 6e 64 6c 65 |theSlave|, handle|
|00000c60| 28 74 68 65 53 6c 61 76 | 65 48 61 6e 64 6c 65 29 |(theSlav|eHandle)|
|00000c70| 2c 20 73 69 7a 65 6f 66 | 28 53 6c 61 76 65 52 65 |, sizeof|(SlaveRe|
|00000c80| 63 6f 72 64 29 29 3b 0d | 09 09 69 66 20 65 72 72 |cord));.|..if err|
|00000c90| 20 3d 20 6e 6f 45 72 72 | 20 74 68 65 6e 20 62 65 | = noErr| then be|
|00000ca0| 67 69 6e 0d 09 09 7b 20 | 43 72 65 61 74 65 20 74 |gin...{ |Create t|
|00000cb0| 68 65 20 73 6c 61 76 65 | 20 74 61 73 6b 2c 20 75 |he slave| task, u|
|00000cc0| 73 69 6e 67 20 74 68 65 | 20 53 6c 61 76 65 48 61 |sing the| SlaveHa|
|00000cd0| 6e 64 6c 65 20 61 73 20 | 69 74 73 20 74 61 73 6b |ndle as |its task|
|00000ce0| 52 65 66 43 6f 6e 20 7d | 0d 09 09 09 65 72 72 20 |RefCon }|....err |
|00000cf0| 3a 3d 20 4e 65 77 54 61 | 73 6b 28 40 53 6c 61 76 |:= NewTa|sk(@Slav|
|00000d00| 65 50 72 6f 63 2c 20 40 | 53 6c 61 76 65 54 65 72 |eProc, @|SlaveTer|
|00000d10| 6d 50 72 6f 63 2c 20 6c | 6f 6e 67 49 6e 74 28 74 |mProc, l|ongInt(t|
|00000d20| 68 65 53 6c 61 76 65 48 | 61 6e 64 6c 65 29 2c 20 |heSlaveH|andle), |
|00000d30| 74 72 6e 29 3b 0d 09 09 | 09 69 66 20 65 72 72 20 |trn);...|.if err |
|00000d40| 3c 3e 20 6e 6f 45 72 72 | 20 74 68 65 6e 20 62 65 |<> noErr| then be|
|00000d50| 67 69 6e 0d 09 09 09 09 | 44 69 73 70 6f 73 48 61 |gin.....|DisposHa|
|00000d60| 6e 64 6c 65 28 68 61 6e | 64 6c 65 28 74 68 65 53 |ndle(han|dle(theS|
|00000d70| 6c 61 76 65 48 61 6e 64 | 6c 65 29 29 3b 0d 09 09 |laveHand|le));...|
|00000d80| 09 65 6e 64 3b 0d 09 09 | 65 6e 64 3b 0d 09 09 4e |.end;...|end;...N|
|00000d90| 65 77 53 6c 61 76 65 20 | 3a 3d 20 65 72 72 3b 0d |ewSlave |:= err;.|
|00000da0| 09 65 6e 64 3b 0d 0d 09 | 76 61 72 0d 09 09 65 72 |.end;...|var...er|
|00000db0| 72 3a 20 4f 53 45 72 72 | 3b 0d 09 09 6d 61 73 74 |r: OSErr|;...mast|
|00000dc0| 65 72 57 69 6e 64 6f 77 | 2c 20 74 68 65 57 69 6e |erWindow|, theWin|
|00000dd0| 64 6f 77 3a 20 57 69 6e | 64 6f 77 50 74 72 3b 0d |dow: Win|dowPtr;.|
|00000de0| 09 09 72 3a 20 52 65 63 | 74 3b 0d 09 09 74 69 6d |..r: Rec|t;...tim|
|00000df0| 65 54 6f 51 75 69 74 3a | 20 42 6f 6f 6c 65 61 6e |eToQuit:| Boolean|
|00000e00| 3b 0d 09 09 74 68 65 45 | 76 65 6e 74 3a 20 45 76 |;...theE|vent: Ev|
|00000e10| 65 6e 74 52 65 63 6f 72 | 64 3b 0d 0d 62 65 67 69 |entRecor|d;..begi|
|00000e20| 6e 0d 09 7b 20 49 6e 69 | 74 69 61 6c 69 7a 65 20 |n..{ Ini|tialize |
|00000e30| 74 68 65 20 54 6f 6f 6c | 42 6f 78 20 7d 0d 0d 09 |the Tool|Box }...|
|00000e40| 7b 20 54 75 72 6e 20 6f | 6e 20 74 61 73 6b 69 6e |{ Turn o|n taskin|
|00000e50| 67 20 7d 0d 09 65 72 72 | 20 3a 3d 20 49 6e 69 74 |g }..err| := Init|
|00000e60| 54 61 73 6b 69 6e 67 3b | 0d 09 69 66 20 65 72 72 |Tasking;|..if err|
|00000e70| 20 3d 20 6e 6f 45 72 72 | 20 74 68 65 6e 20 62 65 | = noErr| then be|
|00000e80| 67 69 6e 0d 7b 20 4d 61 | 6b 65 20 73 6c 61 76 65 |gin.{ Ma|ke slave|
|00000e90| 73 20 7d 0d 09 09 53 65 | 74 52 65 63 74 28 72 2c |s }...Se|tRect(r,|
|00000ea0| 20 32 36 31 2c 20 34 35 | 2c 20 35 30 37 2c 20 31 | 261, 45|, 507, 1|
|00000eb0| 37 36 29 3b 0d 09 09 65 | 72 72 20 3a 3d 20 4e 65 |76);...e|rr := Ne|
|00000ec0| 77 53 6c 61 76 65 28 72 | 2c 20 27 54 61 73 6b 20 |wSlave(r|, 'Task |
|00000ed0| 31 27 2c 20 27 53 65 65 | 20 6d 79 20 54 61 73 6b |1', 'See| my Task|
|00000ee0| 20 31 20 6d 65 73 73 61 | 67 65 3f 27 2c 20 27 4f | 1 messa|ge?', 'O|
|00000ef0| 66 20 63 6f 75 72 73 65 | 20 79 6f 75 20 64 6f d1 |f course| you do.|
|00000f00| 49 d5 6d 20 54 61 73 6b | 20 31 21 27 29 3b 0d 0d |I.m Task| 1!');..|
|00000f10| 09 09 53 65 74 52 65 63 | 74 28 72 2c 20 35 2c 20 |..SetRec|t(r, 5, |
|00000f20| 32 30 36 2c 20 32 35 31 | 2c 20 33 33 37 29 3b 0d |206, 251|, 337);.|
|00000f30| 09 09 69 66 20 65 72 72 | 20 3d 20 6e 6f 45 72 72 |..if err| = noErr|
|00000f40| 20 74 68 65 6e 0d 09 09 | 09 65 72 72 20 3a 3d 20 | then...|.err := |
|00000f50| 4e 65 77 53 6c 61 76 65 | 28 72 2c 20 27 54 61 73 |NewSlave|(r, 'Tas|
|00000f60| 6b 20 32 27 2c 20 27 54 | 48 49 53 20 69 73 20 54 |k 2', 'T|HIS is T|
|00000f70| 61 73 6b 20 32 3f 27 2c | 20 27 59 20 45 20 53 2c |ask 2?',| 'Y E S,|
|00000f80| 20 69 74 20 69 73 21 27 | 29 3b 0d 0d 09 09 53 65 | it is!'|);....Se|
|00000f90| 74 52 65 63 74 28 72 2c | 20 32 36 31 2c 20 32 30 |tRect(r,| 261, 20|
|00000fa0| 36 2c 20 35 30 37 2c 20 | 33 33 37 29 3b 0d 09 09 |6, 507, |337);...|
|00000fb0| 69 66 20 65 72 72 20 3d | 20 6e 6f 45 72 72 20 74 |if err =| noErr t|
|00000fc0| 68 65 6e 0d 09 09 09 65 | 72 72 20 3a 3d 20 4e 65 |hen....e|rr := Ne|
|00000fd0| 77 53 6c 61 76 65 28 72 | 2c 20 27 54 61 73 6b 20 |wSlave(r|, 'Task |
|00000fe0| 33 27 2c 20 27 54 68 65 | 20 67 72 65 61 74 20 61 |3', 'The| great a|
|00000ff0| 6e 64 20 6d 69 67 68 74 | 79 20 54 61 73 6b 20 33 |nd might|y Task 3|
|00001000| 2e 27 2c 20 27 53 65 65 | 20 6d 65 3f 3f 3f 20 49 |.', 'See| me??? I|
|00001010| d5 6d 20 54 61 73 6b 20 | 33 21 27 29 3b 0d 0d 09 |.m Task |3!');...|
|00001020| 09 69 66 20 65 72 72 20 | 3d 20 6e 6f 45 72 72 20 |.if err |= noErr |
|00001030| 74 68 65 6e 20 62 65 67 | 69 6e 0d 09 7b 20 4d 61 |then beg|in..{ Ma|
|00001040| 6b 65 20 6d 61 73 74 65 | 72 20 77 69 6e 64 6f 77 |ke maste|r window|
|00001050| 20 7d 0d 09 09 09 53 65 | 74 52 65 63 74 28 72 2c | }....Se|tRect(r,|
|00001060| 20 35 2c 20 34 35 2c 20 | 32 35 31 2c 20 31 37 36 | 5, 45, |251, 176|
|00001070| 29 3b 0d 09 09 09 6d 61 | 73 74 65 72 57 69 6e 64 |);....ma|sterWind|
|00001080| 6f 77 20 3a 3d 20 4e 65 | 77 57 69 6e 64 6f 77 28 |ow := Ne|wWindow(|
|00001090| 6e 69 6c 2c 20 72 2c 20 | 27 4d 61 73 74 65 72 20 |nil, r, |'Master |
|000010a0| 54 61 73 6b 27 2c 20 54 | 52 55 45 2c 20 6e 6f 47 |Task', T|RUE, noG|
|000010b0| 72 6f 77 44 6f 63 50 72 | 6f 63 2c 20 50 4f 49 4e |rowDocPr|oc, POIN|
|000010c0| 54 45 52 28 2d 31 29 2c | 20 54 52 55 45 2c 20 30 |TER(-1),| TRUE, 0|
|000010d0| 29 3b 0d 0d 09 7b 20 41 | 20 76 65 72 79 20 73 69 |);...{ A| very si|
|000010e0| 6d 70 6c 65 20 65 76 65 | 6e 74 20 6c 6f 6f 70 20 |mple eve|nt loop |
|000010f0| 7d 0d 09 09 09 74 69 6d | 65 54 6f 51 75 69 74 20 |}....tim|eToQuit |
|00001100| 3a 3d 20 46 41 4c 53 45 | 3b 0d 09 09 09 77 68 69 |:= FALSE|;....whi|
|00001110| 6c 65 20 6e 6f 74 20 74 | 69 6d 65 54 6f 51 75 69 |le not t|imeToQui|
|00001120| 74 20 64 6f 20 62 65 67 | 69 6e 0d 09 09 09 09 69 |t do beg|in.....i|
|00001130| 66 20 57 61 69 74 4e 65 | 78 74 45 76 65 6e 74 28 |f WaitNe|xtEvent(|
|00001140| 65 76 65 72 79 45 76 65 | 6e 74 2c 20 74 68 65 45 |everyEve|nt, theE|
|00001150| 76 65 6e 74 2c 20 30 2c | 20 6e 69 6c 29 20 74 68 |vent, 0,| nil) th|
|00001160| 65 6e 20 62 65 67 69 6e | 0d 0d 09 09 09 09 09 63 |en begin|.......c|
|00001170| 61 73 65 20 74 68 65 45 | 76 65 6e 74 2e 77 68 61 |ase theE|vent.wha|
|00001180| 74 20 6f 66 0d 0d 09 09 | 09 09 09 09 6d 6f 75 73 |t of....|....mous|
|00001190| 65 44 6f 77 6e 3a 20 20 | 62 65 67 69 6e 0d 09 09 |eDown: |begin...|
|000011a0| 09 09 09 09 09 63 61 73 | 65 20 46 69 6e 64 57 69 |.....cas|e FindWi|
|000011b0| 6e 64 6f 77 28 74 68 65 | 45 76 65 6e 74 2e 77 68 |ndow(the|Event.wh|
|000011c0| 65 72 65 2c 20 74 68 65 | 57 69 6e 64 6f 77 29 20 |ere, the|Window) |
|000011d0| 6f 66 0d 09 09 09 09 09 | 09 09 09 69 6e 47 6f 41 |of......|...inGoA|
|000011e0| 77 61 79 3a 20 20 62 65 | 67 69 6e 0d 09 09 09 09 |way: be|gin.....|
|000011f0| 09 7b 20 54 72 61 63 6b | 20 69 74 20 7d 0d 09 09 |.{ Track| it }...|
|00001200| 09 09 09 09 09 09 09 69 | 66 20 54 72 61 63 6b 47 |.......i|f TrackG|
|00001210| 6f 41 77 61 79 28 74 68 | 65 57 69 6e 64 6f 77 2c |oAway(th|eWindow,|
|00001220| 20 74 68 65 45 76 65 6e | 74 2e 77 68 65 72 65 29 | theEven|t.where)|
|00001230| 20 74 68 65 6e 20 62 65 | 67 69 6e 0d 09 09 09 09 | then be|gin.....|
|00001240| 09 7b 20 49 74 27 73 20 | 74 69 6d 65 20 74 6f 20 |.{ It's |time to |
|00001250| 71 75 69 74 20 69 66 20 | 74 68 65 79 20 63 6c 6f |quit if |they clo|
|00001260| 73 65 20 74 68 65 20 6d | 61 73 74 65 72 20 77 69 |se the m|aster wi|
|00001270| 6e 64 6f 77 20 7d 0d 09 | 09 09 09 09 09 09 09 09 |ndow }..|........|
|00001280| 09 74 69 6d 65 54 6f 51 | 75 69 74 20 3a 3d 20 6d |.timeToQ|uit := m|
|00001290| 61 73 74 65 72 57 69 6e | 64 6f 77 20 3d 20 74 68 |asterWin|dow = th|
|000012a0| 65 57 69 6e 64 6f 77 3b | 0d 09 09 09 09 09 09 09 |eWindow;|........|
|000012b0| 09 09 65 6e 64 3b 0d 09 | 09 09 09 09 09 09 09 65 |..end;..|.......e|
|000012c0| 6e 64 3b 0d 09 09 09 09 | 09 09 09 09 69 6e 43 6f |nd;.....|....inCo|
|000012d0| 6e 74 65 6e 74 2c 20 69 | 6e 44 72 61 67 3a 20 20 |ntent, i|nDrag: |
|000012e0| 62 65 67 69 6e 0d 09 09 | 09 09 09 7b 20 42 72 69 |begin...|...{ Bri|
|000012f0| 6e 67 20 69 74 20 74 6f | 20 74 68 65 20 66 72 6f |ng it to| the fro|
|00001300| 6e 74 20 69 66 20 6e 65 | 65 64 20 62 65 20 7d 0d |nt if ne|ed be }.|
|00001310| 09 09 09 09 09 09 09 09 | 09 69 66 20 74 68 65 57 |........|.if theW|
|00001320| 69 6e 64 6f 77 20 3c 3e | 20 46 72 6f 6e 74 57 69 |indow <>| FrontWi|
|00001330| 6e 64 6f 77 20 74 68 65 | 6e 0d 09 09 09 09 09 09 |ndow the|n.......|
|00001340| 09 09 09 09 53 65 6c 65 | 63 74 57 69 6e 64 6f 77 |....Sele|ctWindow|
|00001350| 28 74 68 65 57 69 6e 64 | 6f 77 29 3b 0d 09 09 09 |(theWind|ow);....|
|00001360| 09 09 09 09 09 65 6e 64 | 3b 0d 09 09 09 09 09 09 |.....end|;.......|
|00001370| 09 09 6f 74 68 65 72 77 | 69 73 65 0d 09 09 09 09 |..otherw|ise.....|
|00001380| 09 09 09 09 09 3b 0d 09 | 09 09 09 09 09 09 65 6e |.....;..|......en|
|00001390| 64 3b 0d 09 09 09 09 09 | 09 65 6e 64 3b 0d 09 09 |d;......|.end;...|
|000013a0| 09 09 09 09 75 70 64 61 | 74 65 45 76 74 3a 20 20 |....upda|teEvt: |
|000013b0| 62 65 67 69 6e 0d 09 09 | 09 09 7b 20 43 6c 65 61 |begin...|..{ Clea|
|000013c0| 72 20 6f 75 74 20 61 6e | 79 20 75 70 64 61 74 65 |r out an|y update|
|000013d0| 20 65 76 65 6e 74 20 7d | 0d 09 09 09 09 09 09 09 | event }|........|
|000013e0| 74 68 65 57 69 6e 64 6f | 77 20 3a 3d 20 57 69 6e |theWindo|w := Win|
|000013f0| 64 6f 77 50 74 72 28 74 | 68 65 45 76 65 6e 74 2e |dowPtr(t|heEvent.|
|00001400| 6d 65 73 73 61 67 65 29 | 3b 0d 09 09 09 09 09 09 |message)|;.......|
|00001410| 09 42 65 67 69 6e 55 70 | 64 61 74 65 28 74 68 65 |.BeginUp|date(the|
|00001420| 57 69 6e 64 6f 77 29 3b | 0d 09 09 09 09 09 09 09 |Window);|........|
|00001430| 45 6e 64 55 70 64 61 74 | 65 28 74 68 65 57 69 6e |EndUpdat|e(theWin|
|00001440| 64 6f 77 29 3b 0d 09 09 | 09 09 09 09 65 6e 64 3b |dow);...|....end;|
|00001450| 0d 09 09 09 09 09 09 6f | 74 68 65 72 77 69 73 65 |.......o|therwise|
|00001460| 0d 09 09 09 09 09 09 09 | 3b 0d 09 09 09 09 09 65 |........|;......e|
|00001470| 6e 64 3b 0d 09 09 09 09 | 65 6e 64 3b 0d 0d 09 09 |nd;.....|end;....|
|00001480| 7b 20 41 6c 6c 6f 77 20 | 74 61 73 6b 73 20 74 6f |{ Allow |tasks to|
|00001490| 20 72 75 6e 20 66 6f 72 | 20 66 69 76 65 20 74 69 | run for| five ti|
|000014a0| 63 6b 73 20 7d 0d 09 09 | 09 09 65 72 72 20 3a 3d |cks }...|..err :=|
|000014b0| 20 52 75 6e 54 61 73 6b | 73 28 35 29 3b 0d 0d 09 | RunTask|s(5);...|
|000014c0| 09 7b 20 4c 65 74 20 74 | 68 65 20 6d 61 73 74 65 |.{ Let t|he maste|
|000014d0| 72 20 74 61 73 6b 20 64 | 6f 20 73 6f 6d 65 74 68 |r task d|o someth|
|000014e0| 69 6e 67 20 75 73 65 66 | 75 6c 20 7d 0d 09 09 09 |ing usef|ul }....|
|000014f0| 09 44 72 61 77 52 61 6e | 64 6f 6d 4d 73 67 28 6d |.DrawRan|domMsg(m|
|00001500| 61 73 74 65 72 57 69 6e | 64 6f 77 2c 20 27 4f 62 |asterWin|dow, 'Ob|
|00001510| 65 79 20 6d 65 d1 49 20 | 61 6d 20 74 68 65 20 4d |ey me.I |am the M|
|00001520| 61 73 74 65 72 21 27 2c | 20 27 43 6c 6f 73 65 20 |aster!',| 'Close |
|00001530| 6d 65 20 74 6f 20 71 75 | 69 74 2e 27 29 3b 0d 0d |me to qu|it.');..|
|00001540| 09 7b 20 43 6f 6e 74 69 | 6e 75 65 20 75 6e 74 69 |.{ Conti|nue unti|
|00001550| 6c 20 69 74 27 73 20 74 | 69 6d 65 20 74 6f 20 71 |l it's t|ime to q|
|00001560| 75 69 74 20 6f 72 20 74 | 68 65 72 65 20 61 72 65 |uit or t|here are|
|00001570| 20 6e 6f 20 6d 6f 72 65 | 20 74 61 73 6b 73 20 7d | no more| tasks }|
|00001580| 0d 09 09 09 65 6e 64 3b | 0d 0d 09 7b 20 43 6c 6f |....end;|...{ Clo|
|00001590| 73 65 20 74 68 65 20 6d | 61 73 74 65 72 20 77 69 |se the m|aster wi|
|000015a0| 6e 64 6f 77 20 7d 0d 09 | 09 09 43 6c 6f 73 65 57 |ndow }..|..CloseW|
|000015b0| 69 6e 64 6f 77 28 6d 61 | 73 74 65 72 57 69 6e 64 |indow(ma|sterWind|
|000015c0| 6f 77 29 3b 0d 0d 7b 09 | 20 2a 09 44 6f 6e 27 74 |ow);..{.| *.Don't|
|000015d0| 20 66 6f 72 67 65 74 20 | 74 6f 20 64 6f 20 74 68 | forget |to do th|
|000015e0| 69 73 21 20 49 74 20 77 | 69 6c 6c 20 64 69 73 70 |is! It w|ill disp|
|000015f0| 6f 73 65 20 6f 66 20 61 | 6c 6c 20 74 61 73 6b 73 |ose of a|ll tasks|
|00001600| 2c 7d 0d 7b 09 20 2a 09 | 74 68 65 72 65 62 79 20 |,}.{. *.|thereby |
|00001610| 63 61 6c 6c 69 6e 67 20 | 65 61 63 68 20 6f 6e 65 |calling |each one|
|00001620| 27 73 20 54 61 73 6b 54 | 65 72 6d 20 70 72 6f 63 |'s TaskT|erm proc|
|00001630| 65 64 75 72 65 2e 7d 0d | 0d 09 09 65 6e 64 3b 0d |edure.}.|...end;.|
|00001640| 09 09 65 72 72 20 3a 3d | 20 54 65 72 6d 54 61 73 |..err :=| TermTas|
|00001650| 6b 69 6e 67 3b 0d 09 65 | 6e 64 3b 0d 65 6e 64 2e |king;..e|nd;.end.|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001690| 00 00 0b af 00 00 af 3c | 7e 70 06 00 00 00 00 00 |.......<|~p......|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 82 |........|........|
|000016b0| 0c 54 65 73 74 50 54 61 | 73 6b 73 2e 70 2d 02 00 |.TestPTa|sks.p-..|
|000016c0| 00 00 53 50 53 56 53 49 | 54 21 01 00 ff ff ff ff |..SPSVSI|T!......|
|000016d0| 00 00 53 50 53 56 53 49 | 54 21 01 00 ff ff ff ff |..SPSVSI|T!......|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 a6 b9 4f f1 00 00 | 15 de 00 00 01 ac 00 00 |....O...|........|
|00001700| 0c 2f 00 00 ff ff 7e 70 | 03 00 00 00 0d 86 00 00 |./....~p|........|
|00001710| 00 00 00 00 25 12 00 00 | 00 00 00 00 0d 32 00 00 |....%...|.....2..|
|00001720| 00 00 00 00 2a a2 00 00 | 00 00 00 00 1a 9e 00 00 |....*...|........|
|00001730| 00 00 a6 b1 98 e4 00 04 | ce 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 05 00 00 00 0c 33 |........|.......3|
|00001770| 00 00 ff ff 7e 70 04 00 | 00 05 88 f8 00 00 00 00 |....~p..|........|
|00001780| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 ff 7f ff |...H..Mo|naco....|
|00001790| 00 00 00 00 00 00 00 4c | 00 00 00 00 00 00 00 44 |.......L|.......D|
|000017a0| 00 00 00 00 00 00 00 06 | 00 04 00 64 00 1c 03 63 |........|...d...c|
|000017b0| 02 3d 00 64 00 1c 03 63 | 02 3d a6 b9 5a a4 00 00 |.=.d...c|.=..Z...|
|000017c0| 14 ea 00 00 14 ea 00 00 | 10 3e 01 00 00 00 00 1e |........|.>......|
|000017d0| 00 64 00 1c 03 63 02 3d | 00 64 00 1c 03 63 02 3d |.d...c.=|.d...c.=|
|000017e0| 00 00 10 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|000017f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 21 |.....n..|.n...>.!|
|00001800| 97 b8 0b 64 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |...d....|.>..MPSR|
|00001810| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 03 f0 ff ff 00 00 00 4c | 00 27 97 c0 00 00 00 00 |.......L|.'......|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+